<!DOCTYPE html>
<html lang="sr">
<head>
	<?php echo $this->Html->charset(); ?>
	<title><?= 
		empty($title_for_layout) ? '' : $title_for_layout . ' &middot '; ?><?= $settings['title'] 
	?></title>
	<?= $this->Html->meta('keywords', $settings['keywords']) ?>
	<?= $this->Html->meta('description', $settings['description']) ?>
	<?= $this->Html->meta('icon') ?>
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
	
	<?php

		echo $this->Html->css('jquery-ui-1.10.3.custom.min');
        echo $this->Html->css('style');
        
        echo $this->Html->script('jquery-2.0.3.min');
        echo $this->Html->script('jquery-ui-1.10.3.min');
        echo $this->Html->script('script');

		echo $this->fetch('meta');
		echo $this->fetch('css');
		echo $this->fetch('script');
	?>
</head>
<body>
	<div id="container">
		<header>
            <a href="/" class="logo"><?= $settings['title'] ?></a>
            <span class="menu-toggle"></span>
            <div id="menu"><?= $this->element('menu') ?></div>
		</header>
        <div class="split black-red"></div>
		<div id="content">
			<?php echo $this->Session->flash('flash', array('element'=>'flash')); ?>

			<?php echo $this->fetch('content'); ?>
		</div>
        
        <br clear="all">
		<footer>
			Končar Auto d.o.o. &middot;
			<?= $settings['address'] ?> &middot;
			<?= $settings['phone'] ?> &middot;
			<?= $settings['mobile'] ?>
		</footer>
	</div>
	<?php echo $this->element('sql_dump'); ?>
</body>
</html>
